package org.web.locks.databasedistributedlocks.server.dao;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.web.locks.databasedistributedlocks.server.domain.query.QueryDistributedLocks;
import org.web.locks.databasedistributedlocks.server.domain.DistributedLocksDO;

@Mapper
public interface DistributedLocksDAO {

	DistributedLocksDO selectDistributedLocksByDistributedLocksId(String distributedLocksId);

	List< DistributedLocksDO > selectDistributedLocksList(QueryDistributedLocks queryDistributedLocks);

	Integer countDistributedLocksList(QueryDistributedLocks queryDistributedLocks);

	int insertDistributedLocks(DistributedLocksDO distributedLocksDO);

	int updateDistributedLocksByDistributedLocksId(DistributedLocksDO distributedLocksDO);

	int deleteDistributedLocksByDistributedLocksId(String distributedLocksId);

	List<String> selectDistinctList(QueryDistributedLocks queryDistributedLocks);

}
